// 引入模版的全局样式.
import '@/styles/reset.scss'

import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'

// 测试mock代码
// import axios from 'axios';
// // 登陆接口.
// axios({url:'/user/get', method:'get'});
//console.log(result)
// 登陆接口.
// axios({url:'/user/login',  method:'post', data:{username:'admin', password:'111111'}})
// let result = axios({url:'/user/info', method:'get'})
// console.log(result)
const app = createApp(App)

app.use(createPinia())
app.use(router)

app.mount('#app')
